import request from '@/utils/request'

// 查询总金额统计列表
export function listAgentStatic(query) {
  return request({
    url: '/system/agentStatic/list',
    method: 'get',
    params: query
  })
}

// 查询总金额统计详细
export function getAgentStatic(id) {
  return request({
    url: '/system/agentStatic/' + id,
    method: 'get'
  })
}

// 新增总金额统计
export function addAgentStatic(data) {
  return request({
    url: '/system/agentStatic',
    method: 'post',
    data: data
  })
}

// 修改总金额统计
export function updateAgentStatic(data) {
  return request({
    url: '/system/agentStatic',
    method: 'put',
    data: data
  })
}

// 删除总金额统计
export function delAgentStatic(id) {
  return request({
    url: '/system/agentStatic/' + id,
    method: 'delete'
  })
}

// 导出总金额统计
export function exportAgentStatic(query) {
  return request({
    url: '/system/agentStatic/export',
    method: 'get',
    params: query
  })
}